package com.itheima.service;

import com.itheima.pojo.OrderSetting;
import com.itheima.pojo.vo.OrderSettingVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface OrderSettingService {
    /**
     * 根据月份查询预约设置
     * @param month
     * @return
     */
    List<OrderSettingVO> getOrderSettingByMonth(String month);

    /**
     * 根据日期修改预约设置
     * @param orderSetting
     * @return
     */
    Boolean editNumberByDate(OrderSetting orderSetting);

    /**
     * 文件下载
     */
    void download(String uri, HttpServletResponse response);

    /**
     * 文件上传
     * @param excelFile
     */
    void upload(MultipartFile excelFile);
}
